package com.senjoeson.teamfriends.utils;

import android.content.Context;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.senjoeson.teamfriends.R;


/**
 * @author Android
 * @date 2018/1/8
 */

public class GlideUtils {
    public static void loadImage(Context context, Object url, ImageView imageView) {

        Glide.with(context)
                .load(url)
                .centerCrop()
                .placeholder(R.mipmap.ic_launcher_round)
                .into(imageView);

    }

}
